package gui;

import java.awt.*;

import javax.swing.*;

public class ConnectingView extends JPanel{
	
	public ConnectingView()
	{
		  // initialisation du Panel
		
		  setLayout(null);
		  setBackground(new Color(255, 255, 255));
		  Insets mainInsets = this.getInsets();
		  
		  // text "Connecting..."
		  
		  JLabel connecting = new JLabel("Connecting...");
		  
		  connecting.setFont(new Font (connecting.getFont().getName(), Font.PLAIN, 50));
		  Dimension size = connecting.getPreferredSize();
		  connecting.setBounds(370 + mainInsets.left, 200 + mainInsets.top, size.width, size.height);
		  
		  this.add(connecting);
		  
	}
	
}
